aboutsummaryrefslogtreecommitdiffstats
path: root/cedilla [disowned]/watch-
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-23 21:50:57 +0100
committerMattias Andrée <maandree@kth.se>2017-11-23 21:50:57 +0100
commit5f15becca30a1ab7557851230a7e31d00aab9d8e (patch)
tree57d8f1fbae0e95a55763b21a6697b0017619da76 /cedilla [disowned]/watch-
parentUpdate sha3sum (diff)
downloadaur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.gz
aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.bz2
aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.xz
Disown some packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'cedilla [disowned]/watch-')
-rwxr-xr-xcedilla [disowned]/watch-20
1 files changed, 20 insertions, 0 deletions
diff --git a/cedilla [disowned]/watch- b/cedilla [disowned]/watch-
new file mode 100755
index 0000000..c2fa7f1
--- /dev/null
+++ b/cedilla [disowned]/watch-
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+[ -f 'NEWS.text' ] && rm 'NEWS.text'
+wget 'http://www.pps.univ-paris-diderot.fr/~jch/software/cedilla/NEWS.text' >/dev/null 2>/dev/null
+if [ $? = 0 ]; then
+ [ -f unfetchable ] && rm unfetchable
+ md5sum < NEWS.text > new-sum
+ touch sum
+ if [ "$(cat sum)" = "$(cat new-sum)" ]; then
+ rm new-sum
+ else
+ mv new-sum sum
+ echo 'cedilla'
+ fi
+ rm NEWS.text
+elif [ ! -f unfetchable ]; then
+ touch unfetchable
+ echo 'cedilla (unfetchable)'
+fi
+